package com.blobfish.fiction.common.plugin;

import com.blobfish.fiction.common.util.DownloadUtil;
import com.jfinal.log.Log;
import com.jfinal.plugin.IPlugin;

/**
 * 下载插件
 * @author huangbo
 */
public class FunctionDownloadPlugin implements IPlugin {
    private static final Log log = Log.getLog(FunctionDownloadPlugin.class);

    @Override
    public boolean start() {
        // 初始化下载工具
        DownloadUtil downloadUtil = DownloadUtil.getInstance();
        return true;
    }

    @Override
    public boolean stop() {
        return false;
    }
}
